<?php if (count($this->pages)): ?>
    <?php
    foreach ($this->pages as $item):
        echo $this->item($item, $this->user_id);
        ?>
        <div class="clerfix2"><br /></div>
    <?php endforeach; ?>
    <br /><?php echo $this->paginationControl($this->pages, 'Sliding', 'index/pagination/page.php'); ?>
    <?php else: echo  $this->translate('В категории еще нет курсов.');?>
<?php endif; ?>
